package com.xmg.p2p.business.mapper;

import com.xmg.p2p.business.domain.MoneyWithdraw;
import com.xmg.p2p.business.query.MoneyWithdrawQueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @BelongsProject: jinrong-website
 * @BelongsPackage: com.xmg.p2p.business.mapper
 * @author: Andy
 * @date: 2021.4.17 15:10
 * @Description:    提现对象的Mapper
 * @since JDK 1.8
 */
@Repository
public interface MoneyWithdrawMapper {
    //添加提现对象
    int insert(MoneyWithdraw record);
    //根据id查询提现对象
    MoneyWithdraw selectByPrimaryKey(Long id);
    //修改提现对象
    int updateByPrimaryKey(MoneyWithdraw record);
    //后台操作相关
    //分页查询(获取记录数)
    int queryForCount(MoneyWithdrawQueryObject qo);
    //分页查询(获取提现对象集合)
    List<MoneyWithdraw> query(MoneyWithdrawQueryObject qo);
}
